home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / themes / New Wave / metacity-1 / metacity-theme-1.xml < prev   
Encoding:
Extensible Markup Language  |  2009-03-11  |  42.8 KB  |  938 lines

  1. <?xml version="1.0"?>
  2. <!--     $Id: metacity-theme-1.xml,v 0.3 2008/09/01 19:39:07 thos Exp $     -->
  3. <metacity_theme>
  4. <info>
  5.   <name>New Wave</name>
  6.   <author>Anton Kerezov</author>
  7.   <copyright> 2008 Anton Kerezov</copyright>
  8.   <date>21 Dec, 2008</date>
  9.   <description>New Wave Metacity, based on Ubuntu Human Round</description>
  10.   <!-- Feel free to modify and share! -->
  11. </info>
  12.  
  13. <frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="true" rounded_bottom_right="true">
  14.   <distance name="left_width" value="1"/>
  15.   <distance name="right_width" value="1"/>
  16.   <distance name="bottom_height" value="5"/>
  17.   <!-- Use 6px to show the highlights on the top corners -->
  18.   <distance name="left_titlebar_edge" value="6"/>
  19.   <distance name="right_titlebar_edge" value="6"/>
  20.   <distance name="title_vertical_pad" value="3"/>
  21.   <aspect_ratio name="button" value="1"/>
  22.   <border name="title_border" left="2" right="2" top="4" bottom="3"/>
  23.   <border name="button_border" left="0" right="0" top="0" bottom="0"/>
  24. </frame_geometry>
  25.  
  26. <!-- frame_geometry name="normal_d" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="true" rounded_bottom_right="true" parent="normal">
  27.   <border name="title_border" left="2" right="2" top="4" bottom="3"/>
  28. </frame_geometry -->
  29.  
  30.  
  31. <frame_geometry name="shaded" parent="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="true" rounded_bottom_right="true"/>
  32.  
  33. <frame_geometry name="normal_maximized" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
  34.   <!-- strip frame spacing off the normal geometry when maximised -->
  35.   <distance name="left_width" value="0"/>
  36.   <distance name="right_width" value="0"/>
  37.   <distance name="bottom_height" value="0"/>
  38.   <distance name="left_titlebar_edge" value="3"/>
  39.   <distance name="right_titlebar_edge" value="3"/>
  40.   <distance name="title_vertical_pad" value="3"/>
  41.   <border name="title_border" left="1" right="1" top="3" bottom="4"/>
  42. </frame_geometry>
  43.  
  44. <frame_geometry name="utility" title_scale="small" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
  45.   <distance name="left_width" value="3"/>
  46.   <distance name="right_width" value="3"/>
  47.   <distance name="bottom_height" value="3"/>
  48.   <distance name="left_titlebar_edge" value="3"/>
  49.   <distance name="right_titlebar_edge" value="1"/>
  50.   <distance name="title_vertical_pad" value="4"/>
  51.   <border name="title_border" left="0" right="1" top="1" bottom="2"/>
  52.   <border name="button_border" left="0" right="0" top="0" bottom="0"/>
  53.   <aspect_ratio name="button" value="1"/>
  54. </frame_geometry>
  55.  
  56. <frame_geometry name="border" has_title="false">
  57.   <distance name="left_width" value="4"/>
  58.   <distance name="right_width" value="4"/>
  59.   <distance name="bottom_height" value="4"/>
  60.   <distance name="left_titlebar_edge" value="0"/>
  61.   <distance name="right_titlebar_edge" value="0"/>
  62.   <distance name="button_width" value="0"/>
  63.   <distance name="button_height" value="0"/>
  64.   <distance name="title_vertical_pad" value="4"/>
  65.   <border name="title_border" left="0" right="0" top="0" bottom="0"/>
  66.   <border name="button_border" left="0" right="0" top="0" bottom="0"/>
  67. </frame_geometry>
  68.  
  69. <!-- button minimum size -->
  70. <constant name="Bmin" value="7"/>
  71. <!-- button inside padding -->
  72. <constant name="Bpad" value="8"/>
  73.  
  74. <draw_ops name="corners_outline_top">
  75.     <!-- top left -->
  76.     <line color="shade/#ffffff/0.05" x1="0" y1="3" x2="1" y2="2"/>
  77.     <line color="shade/#ffffff/0.05" x1="1" y1="3" x2="1" y2="4"/>
  78.      <line color="shade/#ffffff/0.05" x1="1" y1="3" x2="2" y2="2"/>
  79.     <line color="shade/#ffffff/0.05" x1="3" y1="1" x2="4" y2="1"/>
  80.     <line color="shade/#ffffff/0.05" x1="3" y1="1" x2="1" y2="1"/>
  81.  
  82.     <!-- top right -->
  83.     <line color="shade/#ffffff/0.05" x1="width-1" y1="6" x2="width-1" y2="2"/>
  84.     <line color="shade/#ffffff/0.05" x1="width-2" y1="3" x2="width-2" y2="4"/>
  85.     <line color="shade/#ffffff/0.05" x1="width-2" y1="3" x2="width-3" y2="2"/>
  86.     <line color="shade/#ffffff/0.05" x1="width-4" y1="1" x2="width-5" y2="1"/>
  87.     <line color="shade/#ffffff/0.05" x1="width-4" y1="1" x2="width-1" y2="1"/>
  88. </draw_ops>
  89.  
  90. <draw_ops name="corners_outline_top_unfocused">
  91.     <!-- top left -->
  92.     <line color="shade/#ffffff/0.20" x1="0" y1="3" x2="1" y2="2"/>
  93.     <line color="shade/#ff0000/0.20" x1="1" y1="3" x2="1" y2="4"/>
  94.      <line color="shade/#ffffff/0.20" x1="1" y1="3" x2="2" y2="2"/>
  95.     <line color="shade/#ffffff/0.20" x1="3" y1="1" x2="4" y2="1"/>
  96.     <line color="shade/#ffffff/0.20" x1="3" y1="1" x2="1" y2="1"/>
  97.  
  98.     <!-- top right -->
  99.     <line color="shade/#ffffff/0.20" x1="width-1" y1="6" x2="width-1" y2="2"/>
  100.     <line color="shade/#ffffff/0.20" x1="width-2" y1="3" x2="width-2" y2="4"/>
  101.     <line color="shade/#ffffff/0.20" x1="width-2" y1="3" x2="width-3" y2="2"/>
  102.     <line color="shade/#ffffff/0.20" x1="width-4" y1="1" x2="width-5" y2="1"/>
  103.     <line color="shade/#ffffff/0.20" x1="width-4" y1="1" x2="width-1" y2="1"/>
  104.  
  105. </draw_ops>
  106.  
  107. <draw_ops name="corners_outline_bottom">
  108.     <!-- bottom left -->
  109.     <line color="shade/#ffffff/0.05" x1="1" y1="height-4" x2="0" y2="height-7"/>
  110.     <line color="shade/#ffffff/0.05" x1="1" y1="height-4" x2="1" y2="height-5"/>
  111.      <line color="shade/#ffffff/0.05" x1="2" y1="height-3" x2="2" y2="height-3"/>
  112.     <line color="shade/#ffffff/0.05" x1="2" y1="height-2" x2="4" y2="height-2"/>
  113.  
  114.     <!-- bottom right -->
  115.     <line color="shade/#ffffff/0.05" x1="width-2" y1="height-4" x2="width-1" y2="height-7"/>
  116.     <line color="shade/#ffffff/0.05" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
  117.     <line color="shade/#ffffff/0.05" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
  118.     <line color="shade/#ffffff/0.05" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/>
  119. </draw_ops>
  120.  
  121. <draw_ops name="corners_outline_bottom_unfocused">
  122.     <!-- bottom left -->
  123.     <line color="shade/#ffffff/0.20" x1="1" y1="height-4" x2="0" y2="height-7"/>
  124.     <line color="shade/#ffffff/0.20" x1="1" y1="height-4" x2="1" y2="height-5"/>
  125.      <line color="shade/#ffffff/0.20" x1="2" y1="height-3" x2="2" y2="height-3"/>
  126.     <line color="shade/#ffffff/0.20" x1="2" y1="height-2" x2="4" y2="height-2"/>
  127.  
  128.     <!-- bottom right -->
  129.     <line color="shade/#ffffff/0.20" x1="width-2" y1="height-4" x2="width-1" y2="height-7"/>
  130.     <line color="shade/#ffffff/0.20" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
  131.     <line color="shade/#ffffff/0.20" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
  132.     <line color="shade/#ffffff/0.20" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/>
  133. </draw_ops>
  134.  
  135. <draw_ops name="corners_hilight">
  136.     <!-- ** corner hilight for left top ** -->
  137.     <tint color="shade/#ffffff/1.0" alpha="0.26" x="2" y="3" width="1" height="1"/>
  138.     <tint color="shade/#ffffff/1.0" alpha="0.2" x="2" y="4" width="1" height="1"/>
  139.     <tint color="shade/#ffffff/1.0" alpha="0.2" x="3" y="3" width="1" height="1"/>
  140.     <tint color="shade/#ffffff/1.0" alpha="0.30" x="3" y="2" width="2" height="1"/>
  141.     <tint color="shade/#ffffff/1.0" alpha="0.2" x="3" y="2" width="1" height="1"/>
  142.     <tint color="shade/#ffffff/1.0" alpha="0.04" x="4" y="3" width="1" height="1"/>
  143.     <tint color="shade/#ffffff/1.0" alpha="0.02" x="3" y="4" width="1" height="1"/>
  144.     <tint color="shade/#ffffff/1.0" alpha="0.05" x="5" y="2" width="1" height="1"/>
  145.     <tint color="shade/#ffffff/1.0" alpha="0.1" x="2" y="5" width="1" height="1"/>
  146.     <tint color="shade/#ffffff/1.0" alpha="0.06" x="2" y="6" width="1" height="1"/>
  147.         <tint color="shade/#ffffff/1.0" alpha="0.2" x="1" y="5" width="1" height="1"/>
  148.     <tint color="shade/#ffffff/1.0" alpha="0.08" x="1" y="6" width="1" height="1"/>
  149.  
  150.     <!-- ** corner hilight for right top ** -->
  151.     <tint color="shade/#FFffff/1.0" alpha="0.15" x="width-6" y="2" width="1" height="1"/>
  152.     <tint color="shade/#FFffff/1.0" alpha="0.32" x="width-5" y="2" width="2" height="1"/>
  153.     <tint color="shade/#FFffff/1.0" alpha="0.15" x="width-4" y="3" width="2" height="1"/>
  154.     <tint color="shade/#FFffff/1.0" alpha="0.20" x="width-3" y="3" width="1" height="1"/>
  155.     <tint color="shade/#FFffff/1.0" alpha="0.08" x="width-5" y="3" width="1" height="1"/>
  156.     <tint color="shade/#FFffff/1.0" alpha="0.06" x="width-4" y="4" width="1" height="1"/>
  157.     <tint color="shade/#FFffff/1.0" alpha="0.18" x="width-3" y="4" width="1" height="1"/>
  158.     <tint color="shade/#FFffff/1.0" alpha="0.02" x="width-3" y="5" width="1" height="1"/>
  159.     <tint color="shade/#FFffff/1.0" alpha="0.12" x="width-2" y="5" width="1" height="1"/>
  160.     <tint color="shade/#FFffff/1.0" alpha="0.06" x="width-2" y="6" width="1" height="1"/>
  161. </draw_ops>
  162.  
  163. <draw_ops name="corners_hilight_unfocused">
  164.     <!-- ** Almost all values are based on the "corners_hilight" but decreased with 0.06 ** -->
  165.  
  166.     <!-- ** corner hilight for left top ** -->
  167.     <tint color="shade/#ffffff/1.0" alpha="0.20" x="2" y="3" width="1" height="1"/>
  168.     <tint color="shade/#ffffff/1.0" alpha="0.14" x="2" y="4" width="1" height="1"/>
  169.     <tint color="shade/#ffffff/1.0" alpha="0.04" x="3" y="3" width="1" height="1"/>
  170.     <tint color="shade/#ffffff/1.0" alpha="0.24" x="3" y="2" width="2" height="1"/>
  171.     <tint color="shade/#ffffff/1.0" alpha="0.14" x="3" y="2" width="1" height="1"/>
  172.     <tint color="shade/#ffffff/1.0" alpha="0.03" x="4" y="3" width="1" height="1"/>
  173.     <tint color="shade/#ffffff/1.0" alpha="0.01" x="3" y="4" width="1" height="1"/>
  174.     <tint color="shade/#ffffff/1.0" alpha="0.01" x="5" y="2" width="1" height="1"/>
  175.     <tint color="shade/#ffffff/1.0" alpha="0.04" x="2" y="5" width="1" height="1"/>
  176.     <tint color="shade/#ffffff/1.0" alpha="0.04" x="2" y="6" width="1" height="1"/>
  177.         <tint color="shade/#ffffff/1.0" alpha="0.14" x="1" y="5" width="1" height="1"/>
  178.     <tint color="shade/#ffffff/1.0" alpha="0.05" x="1" y="6" width="1" height="1"/>
  179.   
  180.  
  181.     <!-- ** corner hilight for right top ** -->
  182.     <tint color="shade/#FFffff/1.0" alpha="0.11" x="width-6" y="2" width="1" height="1"/>
  183.     <tint color="shade/#FFffff/1.0" alpha="0.24" x="width-5" y="2" width="2" height="1"/>
  184.     <tint color="shade/#FFffff/1.0" alpha="0.11" x="width-4" y="3" width="2" height="1"/>
  185.     <tint color="shade/#FFffff/1.0" alpha="0.14" x="width-3" y="3" width="1" height="1"/>
  186.     <tint color="shade/#FFffff/1.0" alpha="0.05" x="width-5" y="3" width="1" height="1"/>
  187.     <tint color="shade/#FFffff/1.0" alpha="0.02" x="width-4" y="4" width="1" height="1"/>
  188.     <tint color="shade/#FFffff/1.0" alpha="0.12" x="width-3" y="4" width="1" height="1"/>
  189.     <tint color="shade/#FFffff/1.0" alpha="0.01" x="width-3" y="5" width="1" height="1"/>
  190.     <tint color="shade/#FFffff/1.0" alpha="0.06" x="width-2" y="5" width="1" height="1"/>
  191.     <tint color="shade/#FFffff/1.0" alpha="0.02" x="width-2" y="6" width="1" height="1"/>
  192. </draw_ops>
  193.  
  194.  
  195. <draw_ops name="corners_shadow">
  196.     <!-- ** shadow line ** -->
  197.     <tint color="#000000" alpha="0.2" x="0" y="height-2" width="width" height="1"/>
  198.  
  199.     <!-- ** corner shadow for left bottom ** -->
  200.     <tint color="#000000" alpha="0.10" x="3" y="height-3" width="1" height="1"/>
  201.     <tint color="#000000" alpha="0.2" x="4" y="height-3" width="1" height="1"/>
  202.     <tint color="#000000" alpha="0.12" x="5" y="height-3" width="1" height="1"/>
  203.     <tint color="#000000" alpha="0.18" x="3" y="height-3" width="1" height="1"/>
  204.     <tint color="#000000" alpha="0.10" x="2" y="height-4" width="2" height="1"/>
  205.     <tint color="#000000" alpha="0.06" x="2" y="height-5" width="1" height="1"/>
  206.  
  207.     <!-- ** corner shadow for right bottom ** -->
  208.     <tint color="#000000" alpha="0.10" x="width-6" y="height-3" width="1" height="1"/>
  209.     <tint color="#000000" alpha="0.2" x="width-5" y="height-3" width="2" height="1"/>
  210.     <tint color="#000000" alpha="0.18" x="width-4" y="height-3" width="1" height="1"/>
  211.     <tint color="#000000" alpha="0.10" x="width-4" y="height-4" width="2" height="1"/>
  212.     <tint color="#000000" alpha="0.06" x="width-3" y="height-5" width="1" height="1"/>
  213. </draw_ops>
  214.  
  215. <draw_ops name="corners_hilight_shaded">
  216.     <!-- ** corner hilight for left top ** -->
  217.     <tint color="shade/#696969/2" alpha="0.3" x="2" y="3" width="1" height="2"/>
  218.     <tint color="shade/#696969/2" alpha="0.2" x="3" y="3" width="1" height="1"/>
  219.     <tint color="shade/#696969/2" alpha="0.3" x="3" y="2" width="2" height="1"/>
  220.     <tint color="shade/#696969/2" alpha="0.2" x="2" y="5" width="1" height="1"/>
  221.     <tint color="shade/#696969/2" alpha="0.05" x="2" y="6" width="1" height="1"/>
  222.     <tint color="shade/#696969/2" alpha="0.1" x="4" y="3" width="1" height="1"/>
  223.     <tint color="shade/#696969/2" alpha="0.1" x="3" y="4" width="1" height="1"/>
  224.     <tint color="shade/#696969/2" alpha="0.2" x="5" y="2" width="1" height="1"/>
  225.   
  226.     <!-- ** corner hilight for right top ** -->
  227.     <tint color="shade/#696969/2" alpha="0.2" x="width-5" y="2" width="2" height="1"/>
  228.     <tint color="shade/#696969/2" alpha="0.1" x="width-4" y="3" width="1" height="1"/>
  229.     <tint color="#000000" alpha="0.04" x="width-3" y="3" width="1" height="2"/>
  230.   
  231.     <!-- ** corner hilight for left bottom ** -->
  232.     <tint color="shade/#696969/2" alpha="0.2" x="2" y="height-5" width="1" height="1"/>
  233.     <tint color="shade/#696969/2" alpha="0.15" x="2" y="height-4" width="1" height="1"/>
  234.     <tint color="shade/#696969/2" alpha="0.1" x="3" y="height-4" width="1" height="1"/>
  235.     <tint color="shade/#696969/2" alpha="0.1" x="2" y="height-6" width="1" height="1"/>
  236.     <tint color="#000000" alpha="0.05" x="4" y="height-3" width="1" height="1"/>
  237.     <tint color="#000000" alpha="0.1" x="3" y="height-3" width="1" height="1"/>
  238.  
  239.     <!-- ** corner hilight for right bottom ** -->
  240.     <tint color="#000000" alpha="0.03" x="width-6" y="height-3" width="1" height="1"/>
  241.     <tint color="#000000" alpha="0.03" x="width-4" y="height-4" width="1" height="1"/>
  242.     <tint color="#000000" alpha="0.03" x="width-3" y="height-6" width="1" height="1"/>
  243.     <tint color="#000000" alpha="0.11" x="width-5" y="height-3" width="1" height="1"/>
  244.     <tint color="#000000" alpha="0.15" x="width-4" y="height-3" width="1" height="1"/>
  245.     <tint color="#000000" alpha="0.09" x="width-3" y="height-5" width="1" height="1"/>
  246.     <tint color="#000000" alpha="0.13" x="width-3" y="height-4" width="1" height="1"/>
  247. </draw_ops>
  248.  
  249. <draw_ops name="outer_frame">
  250.     <!-- background fill to fix theme manager rendering bugs -->
  251.     <!-- use darker color for better perception by the user -->
  252.     <!-- rectangle color="#696969" filled="true" x="0" y="0" width="width-1" height="height-1"/-->
  253.     <rectangle color="#575757" filled="true" x="0" y="0" width="width-1" height="height-1"/>
  254.  
  255.     <line color="shade/#696969/0.88" x1="width - 2" y1="3" x2="width - 2" y2="height - 2"/>
  256.     <line color="shade/#696969/1.0" x1="3" y1="1" x2="width - 4" y2="1"/>
  257.     <line color="shade/#696969/1.0" x1="1" y1="3" x2="1" y2="height - 2"/>
  258.     
  259.     <!-- almost black on active windows -->
  260.     <rectangle color="shade/#ffffff/0.05" filled="false" x="0" y="0" width="width - 1" height="height - 1"/>
  261. </draw_ops>
  262.  
  263. <draw_ops name="outer_frame_unfocused">
  264.     <!-- background fill to fix theme manager rendering bugs -->
  265.     <!-- use darker color for better perception by the user -->
  266.     <!-- rectangle color="#696969" filled="true" x="0" y="0" width="width-1" height="height-1"/-->
  267.     <rectangle color="#575757" filled="true" x="0" y="0" width="width-1" height="height-1"/>
  268.  
  269.     <line color="shade/#696969/0.88" x1="width - 2" y1="3" x2="width - 2" y2="height - 2"/>
  270.     <line color="shade/#696969/1.0" x1="3" y1="1" x2="width - 4" y2="1"/>
  271.     <line color="shade/#696969/1.0" x1="1" y1="3" x2="1" y2="height - 2"/>
  272.  
  273.     <!-- lighter on inactive windows -->
  274.     <rectangle color="shade/#ffffff/0.20" filled="false" x="0" y="0" width="width - 1" height="height - 1"/>
  275. </draw_ops>
  276.  
  277. <draw_ops name="title_background">
  278.     <gradient type="vertical" x="0" y="1" width="width" height="top_height-1">
  279.         <color value="shade/#6a6a6a/1.0"/> <!-- 1.25 0.97 - 0.95 1.00 -->
  280.         <color value="shade/#575757/1.0"/>
  281.     </gradient>
  282.     
  283.     
  284.     <!-- Add small highlight to the top -->
  285.     <line color="shade/#ffffff/0.8" x1="0" y1="1" x2="width" y2="1"/>  <!--0.55 -->
  286.  
  287.     <tint color="shade/#696969/1.0" alpha="0.3" x="0" y="1" width="width" height="1"/>
  288.     <tint color="shade/#696969/1.0" alpha="0.05" x="7" y="1" width="width -14" height="1"/>
  289.  
  290.     <!-- line color="shade/#696969/1.0" x1="0" y1="top_height-2" x2="width" y2="top_height-2"/>
  291.     <line color="shade/#696969/1.0" x1="0" y1="top_height-1" x2="width-1" y2="top_height-1"/ -->
  292.     <tint color="shade/#696969/1.0" alpha="0.1" x="6" y="2" width="1" height="1"/>
  293.  
  294.     <tint color="#000000" alpha="0.05" x="width-6" y="1" width="1" height="1"/>
  295.     <tint color="#000000" alpha="0.05" x="5" y="1" width="1" height="1"/>
  296. </draw_ops>
  297.  
  298. <draw_ops name="title_background_unfocused">
  299.     <include name="title_background" />
  300.     <line color="shade/#ffffff/0.15" x1="1" y1="0" x2="width-1" y2="0"/>  <!--0.55 -->
  301. </draw_ops>
  302.  
  303. <!-- ** title background with side borders ** -->
  304. <draw_ops name="title_background_full">
  305.     <include name="title_background"/>
  306.     
  307.         <line color="shade/#ffffff/0.05" x1="0" y1="0" x2="0" y2="top_height-1"/>
  308.     <line color="shade/#ffffff/0.05" x1="width-1" y1="0" x2="width-1" y2="top_height-1"/>
  309.     
  310.     <tint color="shade/#696969/1.0" alpha="0.3" x="1" y="2" width="1" height="top_height-3"/>
  311.     <tint color="#000000" alpha="0.05" x="width-2" y="2" width="1" height="top_height-4"/>
  312. </draw_ops>
  313.  
  314. <draw_ops name="title_background_unfocused_full">
  315.     <include name="title_background_full"/>
  316.     <line color="shade/#ffffff/0.6" x1="1" y1="1" x2="width-2" y2="1"/>  <!--0.55 -->
  317.     
  318.     <line color="shade/#ffffff/0.20" x1="0" y1="0" x2="0" y2="top_height-1"/>
  319.     <line color="shade/#ffffff/0.20" x1="width-1" y1="0" x2="width-1" y2="top_height-1"/>
  320. </draw_ops>
  321.  
  322. <!-- Bevels -->
  323.  
  324. <draw_ops name="bevel_maximized">
  325.     <include name="title_background"/>
  326.     <line color="shade/#ffffff/0.05" x1="0" y1="0" x2="width" y2="0"/>  <!--0.55 -->
  327.     <line color="shade/#ffffff/0.6" x1="0" y1="1" x2="width" y2="1"/>  <!--0.55 -->
  328. </draw_ops>
  329.  
  330. <draw_ops name="bevel_maximized_shaded">
  331.     <include name="title_background"/>
  332.     <line color="shade/#ffffff/0.05" x1="0" y1="0" x2="width" y2="0"/>  <!--0.55 -->
  333.     <line color="shade/#ffffff/0.6" x1="0" y1="1" x2="width" y2="1"/>  <!--0.55 -->
  334.     <line color="shade/#ffffff/0.05" x1="0" y1="height-1" x2="width" y2="height-1"/>
  335. </draw_ops>
  336.  
  337. <draw_ops name="bevel_maximized_unfocused">
  338.     <include name="title_background_unfocused"/>
  339.     <line color="shade/#ffffff/0.16" x1="0" y1="0" x2="width" y2="0"/>  <!--0.55 -->
  340.     <line color="#696969" x1="0" y1="height-1" x2="width" y2="height-1"/>
  341.     <line color="shade/#ffffff/0.5" x1="0" y1="1" x2="width" y2="1"/>  <!--0.55 -->
  342. </draw_ops>
  343.  
  344. <draw_ops name="bevel_maximized_unfocused_shaded">
  345.     <include name="title_background_unfocused"/>
  346.     <line color="shade/#ffffff/0.16" x1="0" y1="0" x2="width" y2="0"/>  <!--0.55 -->
  347.     <line color="shade/#ffffff/0.5" x1="0" y1="1" x2="width" y2="1"/>  <!--0.55 -->
  348.     <line color="shade/#ffffff/0.20" x1="0" y1="height-1" x2="width" y2="height-1"/>
  349. </draw_ops>
  350.  
  351. <!-- UnFocused windws -->
  352.  
  353. <draw_ops name="bevel_unfocused">
  354.     <include name="outer_frame_unfocused"/>
  355.     <include name="title_background_unfocused_full"/>
  356. </draw_ops>
  357.  
  358. <draw_ops name="round_bevel_unfocused">
  359.   <include name="bevel_unfocused"/>
  360.   <include name="corners_outline_top_unfocused"/>
  361.   <include name="corners_outline_bottom_unfocused"/>
  362.   <include name="corners_hilight_unfocused"/>
  363. </draw_ops>
  364.  
  365. <draw_ops name="round_bevel_unfocused_shaded">
  366.   <include name="bevel_unfocused"/>
  367.   <include name="corners_outline_top_unfocused"/>
  368.   <include name="corners_outline_bottom_unfocused"/>
  369.   <include name="corners_hilight_shaded"/>
  370.   <line color="shade/#ffffff/0.20" x1="5" y1="height-1" x2="width-6" y2="height-1"/>
  371. </draw_ops>
  372.  
  373. <!-- Focused windws -->
  374. <draw_ops name="bevel">
  375.     <include name="outer_frame"/>
  376.     <include name="title_background_full"/>
  377. </draw_ops>
  378.  
  379. <draw_ops name="round_bevel">
  380.   <include name="bevel"/>
  381.   <include name="corners_outline_top"/>
  382.   <include name="corners_outline_bottom"/>
  383.   <include name="corners_hilight"/>
  384.   <include name="corners_shadow"/>
  385. </draw_ops>
  386.  
  387. <!-- Shaded windws -->
  388. <draw_ops name="bevel_shaded">
  389.   <include name="bevel"/>
  390.   <line color="shade/#ffffff/0.05" x1="0" y1="height-1" x2="width" y2="height-1"/>
  391. </draw_ops>
  392.  
  393. <draw_ops name="round_bevel_shaded">
  394.   <include name="bevel"/>
  395.   <include name="corners_outline_top"/>
  396.   <include name="corners_outline_bottom"/>
  397.   <include name="corners_hilight_shaded"/>
  398.   <line color="shade/#ffffff/0.05" x1="0" y1="height-1" x2="width" y2="height-1"/>
  399. </draw_ops>
  400.  
  401. <!-- Border windws -->
  402. <draw_ops name="border">
  403.     <line color="shade/#696969/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/>
  404.     <line color="shade/#696969/0.88" x1="width - 2" y1="1" x2="width - 2" y2="height - 2"/>
  405.     <line color="shade/#696969/1.4" x1="1" y1="1" x2="width - 2" y2="1"/>
  406.     <line color="shade/#696969/1.4" x1="1" y1="1" x2="1" y2="height - 2"/>
  407.     
  408.     <rectangle color="shade/#696969/0.25" filled="false"
  409.                x="0" y="0"
  410.                width="width - 1"
  411.                height="height - 1"
  412.     />
  413. </draw_ops>
  414.  
  415. <!-- ::: TITLES ::: -->
  416. <draw_ops name="title_text">
  417.   <title color="#ffffff"
  418.          x="(3 `max` (width-title_width)) / 2"
  419.          y="(((height - title_height) / 2) `max` 0)"/>
  420. </draw_ops>
  421.  
  422. <draw_ops name="title_text_unfocused">
  423.   <title color="blend/#ffffff/#696969/0.6"
  424.          x="(3 `max` (width-title_width)) / 2"
  425.          y="((height - title_height) / 2) `max` 0"/>
  426. </draw_ops>
  427.  
  428. <draw_ops name="title">
  429.   <include name="title_text"/>
  430. </draw_ops>
  431.  
  432. <draw_ops name="title_unfocused">
  433.   <include name="title_text_unfocused"/>
  434. </draw_ops>
  435.  
  436. <!-- ::: BUTTONS ::: -->
  437.  
  438. <draw_ops name="button_bg">
  439.         <gradient type="vertical" x="0" y="2" width="width" height="height-3">
  440.         <color value="shade/#6b6b6b/1.0"/>
  441.         <color value="shade/#575757/1.0"/>
  442.     </gradient>
  443. </draw_ops>
  444.  
  445. <draw_ops name="menu_button_icon"> 
  446.   <icon  x="(width-mini_icon_width)/2-2"
  447.          y="(height-mini_icon_height)/2+1"
  448.          width="mini_icon_width" height="mini_icon_height"/>
  449. </draw_ops>
  450.  
  451. <draw_ops name="menu_icon_bg_pressed">
  452.     <image filename="menu_bg.png" x="(width-28)/2" y="(width-22)/2" width="24" height="24"/>
  453. </draw_ops>
  454.  
  455. <draw_ops name="menu_button_normal">
  456.   <include name="menu_button_icon"/>
  457. </draw_ops>
  458.  
  459. <draw_ops name="menu_button_pressed">
  460.   <include name="menu_icon_bg_pressed"/>
  461.   <include name="menu_button_icon"/>
  462. </draw_ops>
  463.  
  464.  
  465. <!-- ::: ICONS ::: -->
  466. <draw_ops name="close_button_icon">
  467.     <image filename="icon_close.png" x="(width-37)/2" y="(width-24)/2" width="32" height="24"/>
  468. </draw_ops>
  469. <draw_ops name="close_button_icon_prelight">
  470.     <image filename="icon_close_prelight.png" x="(width-37)/2" y="(width-24)/2" width="32" height="24"/>
  471. </draw_ops>
  472. <draw_ops name="close_button_icon_pressed">
  473.     <image filename="icon_close_pressed.png" x="(width-37)/2" y="(width-24)/2" width="32" height="24"/>
  474. </draw_ops>
  475.  
  476. <draw_ops name="close_button_icon_unfocused">
  477.     <image filename="icon_close_u.png" x="(width-37)/2" y="(width-24)/2" width="32" height="24"/>
  478. </draw_ops>
  479. <draw_ops name="close_button_icon_unfocused_prelight">
  480.     <image filename="icon_close_u_prelight.png" x="(width-37)/2" y="(width-24)/2" width="32" height="24"/>
  481. </draw_ops>
  482. <draw_ops name="close_button_icon_unfocused_pressed">
  483.     <image filename="icon_close_u_pressed.png" x="(width-37)/2" y="(width-24)/2" width="32" height="24"/>
  484. </draw_ops>
  485.  
  486. <draw_ops name="close_button_normal">
  487.   <include name="button_bg"/>
  488.   <include name="close_button_icon"/>
  489. </draw_ops>
  490. <draw_ops name="close_button_prelight">
  491.   <include name="button_bg"/>
  492.   <include name="close_button_icon_prelight"/>
  493. </draw_ops>
  494. <draw_ops name="close_button_pressed">
  495.   <include name="button_bg"/>
  496.   <include name="close_button_icon_pressed"/>
  497. </draw_ops>
  498. <draw_ops name="close_button_unfocused">
  499.   <include name="button_bg"/>
  500.   <include name="close_button_icon_unfocused"/>
  501. </draw_ops>
  502. <draw_ops name="close_button_unfocused_prelight">
  503.   <include name="button_bg"/>
  504.   <include name="close_button_icon_unfocused_prelight"/>
  505. </draw_ops>
  506. <draw_ops name="close_button_unfocused_pressed">
  507.   <include name="button_bg"/>
  508.   <include name="close_button_icon_unfocused_pressed"/>
  509. </draw_ops>
  510.  
  511. <!-- Close button for dialogs -->
  512. <draw_ops name="close_button_icon_dlg">
  513.     <image filename="icon_close_dlg.png" x="(width-37)/2" y="(width-24)/2" width="32" height="24"/>
  514. </draw_ops>
  515. <draw_ops name="close_button_icon_dlg_prelight">
  516.     <image filename="icon_close_dlg_prelight.png" x="(width-37)/2" y="(width-24)/2" width="32" height="24"/>
  517. </draw_ops>
  518. <draw_ops name="close_button_icon_dlg_pressed">
  519.     <image filename="icon_close_dlg_pressed.png" x="(width-37)/2" y="(width-24)/2" width="32" height="24"/>
  520. </draw_ops>
  521.  
  522. <draw_ops name="close_button_icon_dlg_unfocused">
  523.     <image filename="icon_close_dlg_u.png" x="(width-37)/2" y="(width-24)/2" width="32" height="24"/>
  524. </draw_ops>
  525. <draw_ops name="close_button_icon_dlg_unfocused_prelight">
  526.     <image filename="icon_close_dlg_prelight_u.png" x="(width-37)/2" y="(width-24)/2" width="32" height="24"/>
  527. </draw_ops>
  528. <draw_ops name="close_button_icon_dlg_unfocused_pressed">
  529.     <image filename="icon_close_dlg_pressed_u.png" x="(width-37)/2" y="(width-24)/2" width="32" height="24"/>
  530. </draw_ops>
  531.  
  532. <draw_ops name="close_button_dlg_normal">
  533.   <include name="button_bg"/>
  534.   <include name="close_button_icon_dlg"/>
  535. </draw_ops>
  536. <draw_ops name="close_button_dlg_prelight">
  537.   <include name="button_bg"/>
  538.   <include name="close_button_icon_dlg_prelight"/>
  539. </draw_ops>
  540. <draw_ops name="close_button_dlg_pressed">
  541.   <include name="button_bg"/>
  542.   <include name="close_button_icon_dlg_pressed"/>
  543. </draw_ops>
  544. <draw_ops name="close_button_dlg_unfocused">
  545.   <include name="button_bg"/>
  546.   <include name="close_button_icon_dlg_unfocused"/>
  547. </draw_ops>
  548. <draw_ops name="close_button_dlg_unfocused_prelight">
  549.   <include name="button_bg"/>
  550.   <include name="close_button_icon_dlg_unfocused_prelight"/>
  551. </draw_ops>
  552. <draw_ops name="close_button_dlg_unfocused_pressed">
  553.   <include name="button_bg"/>
  554.   <include name="close_button_icon_dlg_unfocused_pressed"/>
  555. </draw_ops>
  556.  
  557. <!-- Close button for utility dialogs -->
  558. <draw_ops name="close_button_icon_utility">
  559.     <image filename="icon_close_utility.png" x="(width-28)/2" y="(height-22)/2" width="24" height="21"/>
  560. </draw_ops>
  561. <draw_ops name="close_button_icon_utility_prelight">
  562.     <image filename="icon_close_utility_prelight.png" x="(width-28)/2" y="(height-22)/2" width="24" height="21"/>
  563. </draw_ops>
  564. <draw_ops name="close_button_icon_utility_pressed">
  565.     <image filename="icon_close_utility_pressed.png" x="(width-28)/2" y="(height-22)/2" width="24" height="21"/>
  566. </draw_ops>
  567.  
  568. <draw_ops name="close_button_icon_utility_unfocused">
  569.     <image filename="icon_close_utility_u.png" x="(width-28)/2" y="(width-22)/2" width="24" height="21"/>
  570. </draw_ops>
  571. <draw_ops name="close_button_icon_utility_unfocused_prelight">
  572.     <image filename="icon_close_utility_prelight_u.png" x="(width-28)/2" y="(width-22)/2" width="24" height="21"/>
  573. </draw_ops>
  574. <draw_ops name="close_button_icon_utility_unfocused_pressed">
  575.     <image filename="icon_close_utility_pressed_u.png" x="(width-28)/2" y="(width-22)/2" width="24" height="21"/>
  576. </draw_ops>
  577.  
  578. <draw_ops name="close_button_utility_normal">
  579.   <include name="button_bg"/>
  580.   <include name="close_button_icon_utility"/>
  581. </draw_ops>
  582. <draw_ops name="close_button_utility_prelight">
  583.   <include name="button_bg"/>
  584.   <include name="close_button_icon_utility_prelight"/>
  585. </draw_ops>
  586. <draw_ops name="close_button_utility_pressed">
  587.   <include name="button_bg"/>
  588.   <include name="close_button_icon_utility_pressed"/>
  589. </draw_ops>
  590. <draw_ops name="close_button_utility_unfocused">
  591.   <include name="button_bg"/>
  592.   <include name="close_button_icon_utility_unfocused"/>
  593. </draw_ops>
  594. <draw_ops name="close_button_utility_unfocused_prelight">
  595.   <include name="button_bg"/>
  596.   <include name="close_button_icon_utility_unfocused_prelight"/>
  597. </draw_ops>
  598. <draw_ops name="close_button_utility_unfocused_pressed">
  599.   <include name="button_bg"/>
  600.   <include name="close_button_icon_utility_unfocused_pressed"/>
  601. </draw_ops>
  602.  
  603.  
  604.  
  605. <!-- Maximize button -->
  606. <draw_ops name="maximize_button_icon">
  607.     <image filename="icon_maximize.png" x="(width-28)/2" y="(height-24)/2" width="24" height="24"/>
  608. </draw_ops>
  609. <draw_ops name="maximize_button_icon_prelight">
  610.     <image filename="icon_maximize_prelight.png" x="(width-28)/2" y="(height-24)/2" width="24" height="24"/>
  611. </draw_ops>
  612. <draw_ops name="maximize_button_icon_pressed">
  613.     <image filename="icon_maximize_pressed.png" x="(width-28)/2" y="(height-24)/2" width="24" height="24"/>
  614. </draw_ops>
  615.  
  616. <draw_ops name="maximize_button_icon_unfocused">    
  617.     <image filename="icon_maximize_u.png" x="(width-28)/2" y="(height-24)/2" width="24" height="24"/>
  618. </draw_ops>
  619. <draw_ops name="maximize_button_icon_unfocused_prelight">    
  620.     <image filename="icon_maximize_u_prelight.png" x="(width-28)/2" y="(height-24)/2" width="24" height="24"/>
  621. </draw_ops>
  622. <draw_ops name="maximize_button_icon_unfocused_pressed">    
  623.     <image filename="icon_maximize_u_pressed.png" x="(width-28)/2" y="(height-24)/2" width="24" height="24"/>
  624. </draw_ops>
  625.  
  626. <draw_ops name="maximize_button_normal">
  627.   <include name="button_bg"/>
  628.   <include name="maximize_button_icon"/>
  629. </draw_ops>
  630. <draw_ops name="maximize_button_prelight">
  631.   <include name="button_bg"/>
  632.   <include name="maximize_button_icon_prelight"/>
  633. </draw_ops>
  634. <draw_ops name="maximize_button_pressed">
  635.   <include name="button_bg"/>
  636.   <include name="maximize_button_icon_pressed"/>
  637. </draw_ops>
  638. <draw_ops name="maximize_button_unfocused">
  639.   <include name="button_bg"/>
  640.   <include name="maximize_button_icon_unfocused"/>
  641. </draw_ops>
  642. <draw_ops name="maximize_button_unfocused_prelight">
  643.   <include name="button_bg"/>
  644.   <include name="maximize_button_icon_unfocused_prelight"/>
  645. </draw_ops>
  646. <draw_ops name="maximize_button_unfocused_pressed">
  647.   <include name="button_bg"/>
  648.   <include name="maximize_button_icon_unfocused_pressed"/>
  649. </draw_ops>
  650.  
  651. <!-- Restore button -->
  652. <draw_ops name="restore_button_icon">
  653.     <image filename="icon_restore.png" x="(width-28)/2" y="(height-24)/2" width="24" height="24"/>
  654. </draw_ops>
  655. <draw_ops name="restore_button_icon_prelight">
  656.     <image filename="icon_restore_prelight.png" x="(width-28)/2" y="(height-24)/2" width="24" height="24"/>
  657. </draw_ops>
  658. <draw_ops name="restore_button_icon_pressed">
  659.     <image filename="icon_restore_pressed.png" x="(width-28)/2" y="(height-24)/2" width="24" height="24"/>
  660. </draw_ops>
  661.  
  662.  
  663. <draw_ops name="restore_button_icon_unfocused">
  664.     <image filename="icon_restore_u.png" x="(width-28)/2" y="(height-24)/2" width="24" height="24"/>
  665. </draw_ops>
  666. <draw_ops name="restore_button_icon_unfocused_prelight">
  667.     <image filename="icon_restore_u_prelight.png" x="(width-28)/2" y="(height-24)/2" width="24" height="24"/>
  668. </draw_ops>
  669. <draw_ops name="restore_button_icon_unfocused_pressed">
  670.     <image filename="icon_restore_u_pressed.png" x="(width-28)/2" y="(height-24)/2" width="24" height="24"/>
  671. </draw_ops>
  672.  
  673. <draw_ops name="restore_button_normal">
  674.   <include name="button_bg"/>
  675.   <include name="restore_button_icon"/>
  676. </draw_ops>
  677. <draw_ops name="restore_button_prelight">
  678.   <include name="button_bg"/>
  679.   <include name="restore_button_icon_prelight"/>
  680. </draw_ops>
  681. <draw_ops name="restore_button_pressed">
  682.   <include name="button_bg"/>
  683.   <include name="restore_button_icon_pressed"/>
  684. </draw_ops>
  685. <draw_ops name="restore_button_unfocused">
  686.   <include name="button_bg"/>
  687.   <include name="restore_button_icon_unfocused"/>
  688. </draw_ops>
  689. <draw_ops name="restore_button_unfocused_prelight">
  690.   <include name="button_bg"/>
  691.   <include name="restore_button_icon_unfocused_prelight"/>
  692. </draw_ops>
  693. <draw_ops name="restore_button_unfocused_pressed">
  694.   <include name="button_bg"/>
  695.   <include name="restore_button_icon_unfocused_pressed"/>
  696. </draw_ops>
  697.  
  698. <!-- Minimize button -->
  699. <draw_ops name="minimize_button_icon">
  700.     <image filename="icon_minimize.png" x="(width-20)/2" y="(height-24)/2" width="24" height="24"/>
  701. </draw_ops>
  702. <draw_ops name="minimize_button_icon_prelight">
  703.     <image filename="icon_minimize_prelight.png" x="(width-20)/2" y="(height-24)/2" width="24" height="24"/>
  704. </draw_ops>
  705. <draw_ops name="minimize_button_icon_pressed">
  706.     <image filename="icon_minimize_pressed.png" x="(width-20)/2" y="(height-24)/2" width="24" height="24"/>
  707. </draw_ops>
  708.  
  709. <draw_ops name="minimize_button_icon_unfocused">
  710.     <image filename="icon_minimize_u.png" x="(width-20)/2" y="(height-24)/2" width="24" height="24"/>
  711. </draw_ops>
  712. <draw_ops name="minimize_button_icon_unfocused_prelight">
  713.     <image filename="icon_minimize_u_prelight.png" x="(width-20)/2" y="(height-24)/2" width="24" height="24"/>
  714. </draw_ops>
  715. <draw_ops name="minimize_button_icon_unfocused_pressed">
  716.     <image filename="icon_minimize_u_pressed.png" x="(width-20)/2" y="(height-24)/2" width="24" height="24"/>
  717. </draw_ops>
  718.  
  719. <draw_ops name="minimize_button_normal">
  720.   <include name="button_bg"/>
  721.   <include name="minimize_button_icon"/>
  722. </draw_ops>
  723. <draw_ops name="minimize_button_prelight">
  724.   <include name="button_bg"/>
  725.   <include name="minimize_button_icon_prelight"/>
  726. </draw_ops>
  727. <draw_ops name="minimize_button_pressed">
  728.   <include name="button_bg"/>
  729.   <include name="minimize_button_icon_pressed"/>
  730. </draw_ops>
  731. <draw_ops name="minimize_button_unfocused">
  732.   <include name="button_bg"/>
  733.   <include name="minimize_button_icon_unfocused"/>
  734. </draw_ops>
  735. <draw_ops name="minimize_button_unfocused_prelight">
  736.   <include name="button_bg"/>
  737.   <include name="minimize_button_icon_unfocused_prelight"/>
  738. </draw_ops>
  739. <draw_ops name="minimize_button_unfocused_pressed">
  740.   <include name="button_bg"/>
  741.   <include name="minimize_button_icon_unfocused_pressed"/>
  742. </draw_ops>
  743.  
  744. <draw_ops name="blank">
  745. <!-- nothing -->
  746. </draw_ops>
  747.  
  748.  
  749. <!-- Normal Window -->
  750. <frame_style name="normal" geometry="normal">
  751.   <piece position="entire_background" draw_ops="round_bevel_unfocused"/>
  752.   <piece position="title" draw_ops="title_unfocused"/>
  753.   <button function="close" state="normal" draw_ops="close_button_unfocused"/>
  754.   <button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/>
  755.   <button function="close" state="prelight" draw_ops="close_button_unfocused_prelight"/>
  756.   <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/>
  757.   <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/>
  758.   <button function="maximize" state="prelight" draw_ops="maximize_button_unfocused_prelight"/>
  759.   <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/>
  760.   <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/>
  761.   <button function="minimize" state="prelight" draw_ops="minimize_button_unfocused_prelight"/>
  762.   <button function="menu" state="normal" draw_ops="menu_button_normal"/>
  763.   <button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
  764. </frame_style>
  765.  
  766. <frame_style name="normal_shaded" geometry="shaded" parent="normal">
  767.   <piece position="entire_background" draw_ops="round_bevel_unfocused_shaded"/>
  768. </frame_style>
  769.  
  770.  
  771. <!-- Focused Window -->
  772. <frame_style name="focused" geometry="normal" parent="normal">
  773.   <piece position="entire_background" draw_ops="round_bevel"/>
  774.   <piece position="title" draw_ops="title"/>
  775.   <button function="close" state="normal" draw_ops="close_button_normal"/>
  776.   <button function="close" state="pressed" draw_ops="close_button_pressed"/>
  777.   <button function="close" state="prelight" draw_ops="close_button_prelight"/>
  778.   <button function="maximize" state="normal" draw_ops="maximize_button_normal"/>
  779.   <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
  780.   <button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/>
  781.   <button function="minimize" state="normal" draw_ops="minimize_button_normal"/>
  782.   <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
  783.   <button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/>
  784. </frame_style>
  785.  
  786. <frame_style name="focused_shaded" geometry="shaded" parent="focused">
  787.   <piece position="entire_background" draw_ops="round_bevel_shaded"/>
  788. </frame_style>
  789.  
  790.  
  791. <!-- Normal Dialog Window -->
  792. <frame_style name="normal_dlg" geometry="normal">
  793.   <piece position="entire_background" draw_ops="round_bevel_unfocused"/>
  794.   <piece position="title" draw_ops="title_unfocused"/>
  795.   <button function="close" state="normal" draw_ops="close_button_dlg_unfocused"/>
  796.   <button function="close" state="pressed" draw_ops="close_button_dlg_unfocused_pressed"/>
  797.   <button function="close" state="prelight" draw_ops="close_button_dlg_unfocused_prelight"/>
  798.   <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/>
  799.   <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/>
  800.   <button function="maximize" state="prelight" draw_ops="maximize_button_unfocused_prelight"/>
  801.   <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/>
  802.   <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/>
  803.   <button function="minimize" state="prelight" draw_ops="minimize_button_unfocused_prelight"/>
  804.   <button function="menu" state="normal" draw_ops="menu_button_normal"/>
  805.   <button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
  806. </frame_style>
  807.  
  808. <frame_style name="normal_dlg_shaded" geometry="shaded" parent="normal_dlg">
  809.   <piece position="entire_background" draw_ops="round_bevel_unfocused_shaded"/>
  810. </frame_style>
  811.  
  812.  
  813. <!-- Focused Dialog Window -->
  814. <frame_style name="focused_dlg" geometry="normal" parent="normal_dlg">
  815.   <piece position="entire_background" draw_ops="round_bevel"/>
  816.   <piece position="title" draw_ops="title"/>
  817.   <button function="close" state="normal" draw_ops="close_button_dlg_normal"/>
  818.   <button function="close" state="pressed" draw_ops="close_button_dlg_pressed"/>
  819.   <button function="close" state="prelight" draw_ops="close_button_dlg_prelight"/>
  820.   <button function="maximize" state="normal" draw_ops="maximize_button_normal"/>
  821.   <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
  822.   <button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/>
  823.   <button function="minimize" state="normal" draw_ops="minimize_button_normal"/>
  824.   <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
  825.   <button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/>
  826. </frame_style>
  827.  
  828. <frame_style name="focused_dlg_shaded" geometry="shaded" parent="focused_dlg">
  829.   <piece position="entire_background" draw_ops="round_bevel_shaded"/>
  830. </frame_style>
  831.  
  832.  
  833. <frame_style name="normal_maximized" geometry="normal_maximized" parent="normal">
  834.   <piece position="entire_background" draw_ops="bevel_maximized_unfocused"/>
  835.   <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/>
  836.   <button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/>
  837.   <button function="maximize" state="prelight" draw_ops="restore_button_unfocused_prelight"/>
  838. </frame_style>
  839.  
  840. <frame_style name="normal_maximized_shaded" geometry="normal_maximized" parent="normal_maximized">
  841.   <piece position="entire_background" draw_ops="bevel_maximized_unfocused_shaded"/>
  842. </frame_style>
  843.  
  844. <frame_style name="focused_maximized" geometry="normal_maximized" parent="focused">
  845.   <piece position="entire_background" draw_ops="bevel_maximized"/>
  846.   <button function="maximize" state="normal" draw_ops="restore_button_normal"/>
  847.   <button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
  848.   <button function="maximize" state="prelight" draw_ops="restore_button_prelight"/>
  849. </frame_style>
  850.  
  851. <frame_style name="focused_maximized_shaded" geometry="normal_maximized" parent="focused_maximized">
  852.   <piece position="entire_background" draw_ops="bevel_maximized_shaded"/>
  853. </frame_style>
  854.  
  855. <frame_style name="border" geometry="border" parent="normal">
  856.   <piece position="entire_background" draw_ops="border"/>
  857.   <piece position="title" draw_ops="blank"/>
  858. </frame_style>
  859.  
  860. <!-- Utility Window -->
  861. <frame_style name="utility_normal" geometry="utility" parent="normal_dlg">
  862.   <piece position="entire_background" draw_ops="bevel_unfocused"/>
  863.   <button function="close" state="normal" draw_ops="close_button_utility_unfocused"/>
  864.   <button function="close" state="pressed" draw_ops="close_button_utility_unfocused_pressed"/>
  865.   <button function="close" state="prelight" draw_ops="close_button_utility_unfocused_prelight"/>
  866. </frame_style>
  867.  
  868. <frame_style name="utility_focused" geometry="utility" parent="focused_dlg">
  869.   <piece position="entire_background" draw_ops="bevel"/>
  870.   <button function="close" state="normal" draw_ops="close_button_utility_normal"/>
  871.   <button function="close" state="pressed" draw_ops="close_button_utility_pressed"/>
  872.   <button function="close" state="prelight" draw_ops="close_button_utility_prelight"/>
  873. </frame_style>
  874.  
  875. <frame_style name="utility_focused_shaded" geometry="utility" parent="utility_focused">
  876.   <piece position="entire_background" draw_ops="bevel_shaded"/>
  877. </frame_style>
  878.  
  879. <frame_style_set name="normal">
  880.    <frame focus="yes" state="normal" resize="both" style="focused"/>
  881.    <frame focus="no" state="normal" resize="both" style="normal"/>
  882.    <frame focus="yes" state="maximized" style="focused_maximized"/>
  883.    <frame focus="no" state="maximized" style="normal_maximized"/>
  884.    <frame focus="yes" state="shaded" style="focused_shaded"/>
  885.    <frame focus="no" state="shaded" style="normal_shaded"/>
  886.    <frame focus="yes" state="maximized_and_shaded" style="focused_maximized_shaded"/>
  887.    <frame focus="no" state="maximized_and_shaded" style="normal_maximized_shaded"/>
  888. </frame_style_set>
  889.  
  890. <frame_style_set name="dialog">
  891.    <frame focus="yes" state="normal" resize="both" style="focused_dlg"/>
  892.    <frame focus="no" state="normal" resize="both" style="normal_dlg"/>
  893.    <frame focus="yes" state="maximized" style="focused_maximized"/>
  894.    <frame focus="no" state="maximized" style="normal_maximized"/>
  895.    <frame focus="yes" state="shaded" style="focused_dlg_shaded"/>
  896.    <frame focus="no" state="shaded" style="normal_dlg_shaded"/>
  897.    <frame focus="yes" state="maximized_and_shaded" style="focused_maximized_shaded"/>
  898.    <frame focus="no" state="maximized_and_shaded" style="normal_maximized_shaded"/>
  899. </frame_style_set>
  900.  
  901. <frame_style_set name="utility" parent="normal">
  902. <frame focus="yes" state="normal" resize="both" style="utility_focused"/>
  903. <frame focus="no" state="normal" resize="both" style="utility_normal"/>
  904. <!-- this is a bunch of crack since utility windows shouldn't be maximized -->
  905. <frame focus="yes" state="maximized" style="focused"/>
  906. <frame focus="no" state="maximized" style="normal"/>
  907. <frame focus="yes" state="shaded" style="utility_focused_shaded"/>
  908. <frame focus="no" state="shaded" style="utility_normal"/>
  909. <frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/>
  910. <frame focus="no" state="maximized_and_shaded" style="normal"/>
  911. </frame_style_set>
  912.  
  913. <frame_style_set name="border">
  914. <frame focus="yes" state="normal" resize="both" style="border"/>
  915. <frame focus="no" state="normal" resize="both" style="border"/>
  916. <frame focus="yes" state="maximized" style="border"/>
  917. <frame focus="no" state="maximized" style="border"/>
  918. <frame focus="yes" state="shaded" style="border"/>
  919. <frame focus="no" state="shaded" style="border"/>
  920. <frame focus="yes" state="maximized_and_shaded" style="border"/>
  921. <frame focus="no" state="maximized_and_shaded" style="border"/>
  922. </frame_style_set>
  923.  
  924. <window type="normal" style_set="normal"/>
  925. <window type="dialog" style_set="dialog"/>
  926. <window type="modal_dialog" style_set="dialog"/>
  927. <window type="menu" style_set="dialog"/>
  928. <window type="utility" style_set="utility"/>
  929. <window type="border" style_set="border"/>
  930.  
  931. <!-- menu_icon function="close" state="normal" draw_ops="close_button_icon_unfocused"/>
  932. <menu_icon function="maximize" state="normal" draw_ops="maximize_button_icon_unfocused"/>
  933. <menu_icon function="unmaximize" state="normal" draw_ops="restore_button_icon_unfocused"/>
  934. <menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_unfocused"/ -->
  935.  
  936.  
  937. </metacity_theme>
  938.